package org.example.ai_chat.service;

import org.example.ai_chat.pojo.ai_memory;
import org.example.ai_chat.pojo.ai_session;
import org.example.ai_chat.pojo.users;

import java.util.List;

public interface UserService {
    List<users> getAllUser();
    users getUserById(int id);
    users getUserByEmail(String email);
    Integer addUser(users user);
    boolean login(int id, String password_hash);
    List<List<ai_memory>> getUserMemoryById(int id);

    int setSession(ai_session session);
}
